package com.away.ymcc.constsant;

public enum GlobleExceptionConstant {
    GLOBLE_EXCEPTION_CONSTANT("业务异常","1000"),
    PASSWORLD_IS_NULL("密码不能为空", "1001"),
    USERNAME_IS_NULL("用户名不能为空", "1002"),
    USERNAME_OR_PASSWORLD_ERROR("用户名或密码错误", "1003"),
    USER_NOT_LOGIN("用户未登录", "1004"),
    USER_NOT_PERMISSION("用户无权限", "1005"),
    PHONE_IS_NULL("手机号码不能为空","1006");


    private String message;
    private String code;

    private GlobleExceptionConstant(String message,String code){
        this.message = message;
        this.code = code;
    }
    public String getCode() {
        return code;
    }
    public String getMessage() {
        return message;
    }

}
